package com.hyt.it.ogt.kq.service.gov.model.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
    * @Description 考试协议 VO
    * @Author wangg
    * @date 2021/11/24
    */
@Data
public class ExamAgreementVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "考试任务id")
    private String taskId;

    @NotBlank(message = "考试协议名称不能为空")
    @ApiModelProperty(value = "考试协议名称")
    private String name;

    @NotBlank(message = "类型不能为空")
    @ApiModelProperty(value = "类型，1：考生须知，2：欢迎语")
    private int type;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private String createDate;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private String updateDate;

    @ApiModelProperty(value = "是否删除")
    private boolean isDelFlag;

    @NotBlank(message = "考试协议内容不能为空")
    @ApiModelProperty(value = "考试协议内容")
    private String content;

}
